package com.cskaoyan.demo5.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author stone
 * @date 2022/01/04 17:21
 */
@Configuration
@EnableConfigurationProperties(CustomProperties.class)
public class CustomConfiguration {

    CustomProperties properties;

    public CustomConfiguration(CustomProperties properties) {
        this.properties = properties;
    }
}
